namespace UniversalAdmin.Application.Dtos.Log;

public class LogDto
{
    public Guid Id { get; set; }
    public int SerialNumber { get; set; } // 自增序号
    public Guid? UserId { get; set; }
    public string? UserName { get; set; } // 用户名
    public string? Action { get; set; }
    public string? Resource { get; set; }
    public Guid? ResourceId { get; set; }
    public string? FormattedResource { get; set; } // 格式化的操作内容
    public string? IpAddress { get; set; }
    public string? UserAgent { get; set; }
    public DateTime CreatedAt { get; set; }
} 